#gcc-12.0.0-ptch

Created this patch to add GCC version to the graph data  
using gcc git version 4 july 2021  
  
git describe  
basepoints/gcc-12-1999-gd07092a61d5  
  
gcc --version  
gcc (GCC) 12.0.0 20210704 (experimental)  
Copyright (C) 2021 Free Software Foundation, Inc.  
This is free software; see the source for copying conditions.  There is NO  
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
  
The start of the gcc -fcallgraph-info output now looks like this:  
  
~~~
/* callgraph generated by GNU GCC Compiler -fcallgraph-info option version
 * GNU C17 (GCC) version 12.0.0 20210704 (experimental) (x86_64-pc-linux-gnu)
 *	compiled by GNU C version 12.0.0 20210704 (experimental), GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
 * GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
*/
graph: { title: "foo.c"
node: { title: "hello_GCC" label: "hello_GCC\nfoo.c:3:6" }
 ...
}
~~~
  
The start of the rtl, tree, ipa graph data look like this  
generated with gcc -fdump-rtl-all-graph -fdump-tree-all-graph -fdump-ipq-all-graph  
  
~~~
/* graph generated by GNU GCC Compiler version
 * GNU C99 (GCC) version 12.0.0 20210704 (experimental) (x86_64-pc-linux-gnu)
 *	compiled by GNU C version 12.0.0 20210704 (experimental), GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
 * GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
*/
digraph "gml4gtk-dot.tab.c.296r.ira" {
 ...
}
~~~
  
The start of the -fanalyzer graph output files look like this  
  
~~~
/* graph generated by GNU GCC Compiler version
 * GNU C99 (GCC) version 12.0.0 20210704 (experimental) (x86_64-pc-linux-gnu)
 *	compiled by GNU C version 12.0.0 20210704 (experimental), GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
 * GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
*/
digraph "base" {
 ...
}
~~~
  
See the file graphversion.patch and example file foo.bare.ci  
  
SPDX-License-Identifier: GPL-3.0+  
License-Filename: LICENSE  
  
<span>🇳🇱</span>
  
